<?php echo CHtml::beginForm(); ?>
<div >
	<?php //echo CHtml::activeLabel($form,'username'); ?>
	<?php echo CHtml::activeTextField($form,'username') ?>
	<?php echo CHtml::error($form,'username'); ?>
</div>
<div >
	<?php //echo CHtml::activeLabel($form,'password'); ?>
	<?php echo CHtml::activePasswordField($form,'password') ?>
	<?php echo CHtml::error($form,'password'); ?>
</div>
<div class="submitlogin">
	<?php echo CHtml::submitButton('Login'); ?>
</div>
<br class="clearer"></br>
<div class="rememberme">
	<?php echo CHtml::activeCheckBox($form,'rememberMe'); ?>
	<?php echo CHtml::label('Remember me',CHtml::getActiveId($form,'rememberMe')); ?>
</div>

<?php echo CHtml::endForm(); ?>